package com.woniu.user.mapper;

import com.woniu.user.entity.UserRealAuthentication;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 贾玉亮
 * @since 2023-01-02
 */
public interface UserRealAuthenticationMapper extends BaseMapper<UserRealAuthentication> {
    @Select("select audit_status from user_real_authentication where fk_user_id=#{id} and is_deleted='0'")
    String InferAuthentication(String id);
}
